import 'package:flutter/material.dart';

/*分割线*/
class LineWidget extends StatelessWidget {
  final Color color;
  final double? height;
  final double? width;
  final EdgeInsets padding;

  const LineWidget({
    Key? key,
    this.color = const Color(0xFFEEEEEE),
    this.height,
    this.width,
    this.padding = EdgeInsets.zero,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      width: width,
      height: height,
      color: color,
      margin: padding,
    );
  }
}
